using System;

namespace IQIGame.Onigao.Framework
{
    public struct ObjPoolTypeGroupKey : IEquatable<ObjPoolTypeGroupKey>
    {
        public Type Type;
        public int GroupId;

        public ObjPoolTypeGroupKey(Type type, int groupId)
        {
            Type = type;
            GroupId = groupId;
        }

        public bool Equals(ObjPoolTypeGroupKey other)
        {
            return this.Type == other.Type && this.GroupId == other.GroupId;
        }
    }
}
